html, body {
    margin: 0;
    font-family: sans-serif;
}
.wrapper {
    width: 100%;
    height: 700px;
    padding: 5% 20%;
    margin: 0px auto;
    background-color: #18242e;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    display: block;
}
#mainWindow{
    border-radius: 5px;
    background-color: #0b1116;
    border: solid 3px #0b1116;
    width: 69%;
    height: 80%;
    float: right;
}
.side{
    border-radius: 5px !important;
    height: 80%;
    width: 30%;
    background-color: #0b1116;
    float: left;
}
.banner {
    
    height: 10%;
    width: 100%;
    line-height: 50px;
}

.banner button{
    vertical-align: middle;   
}

.banner p {
    display: inline-block;
}
#backBtn,#profileBtn{
    background-size: contain;
    width: 30px;
    height: 30px;
}
#backBtn{
    border-color: #0b1116 !important;
    background-color: #0b1116;
    background-image: url(../img/back.png);
    margin-left: 5%;
}
#profileBtn{
    border-color: #0b1116 !important;
    background-image: url(../img/user.png);
    background-color: #0b1116;
    margin-left: 60%;
}
.sideMain{
    height: 80%;
    width: 100%;
}
.bottomBanner{
    height: 10%;
    width: 100%;
    padding: 0px;
}
.bottomBanner ul{
    list-style-type:none;
    height: 100%;
    width: 100%;
    padding: 10px;
}
.bottomBanner li{
    float: left;
    margin-left: 15px;
    height: 85%;
    width: 25%;
}
.bottomBanner li button{
    height: 100%;
    width: 100%;
}
#historyMsg {
    height: 70%;
    width: 100%;
    background-color: rgba(196, 213, 228, 0.39);
    overflow: auto;
    padding: 2px;
}
#historyMsg p{
    max-width: 80%;
}
#historyMsg img {
    max-width: 20%;
}
#controls {
    background-color: #0b1116;
    height: 20%;
    margin-top: 5px;
    position: relative;
}
#messageInput {
    margin-left: 0px;
    width: 80%;
    height: 60%;
    max-width: 70%;
    max-height: 60%;
    float: left;
}
#sendBtn {
    width: 28%;
    height: 60%;
    float: right;
}
/*.timespan {
    color: #ddd;
}*/
.items {
    height: 35px;
}

.imageLable {
    position: relative;
}
#sendImage {
    position: absolute;
	width: 30px;
    left: 0;
	top: 0; /* make input and btn same in position */
    opacity: 0;
    overflow: hidden;
}

/*
#emojiWrapper {
    display: none;
    width: 500px;
    bottom: 105px;
    position: absolute;
    background-color: #aaa;
    box-shadow: 0 0 10px #555;
}
#emojiWrapper img {
    margin: 2px;
    padding: 2px;
    width: 25px;
    height: 25px;
}
#emojiWrapper img:hover {
    background-color: blue;
}
.emoji{
    display: inline;
}
*/


footer {
    text-align: center;
}
.toolbarBtn1{
	width:30px;
	height: 30px;
	border-radius: 2px;
    background-size: cover;

}
::-webkit-color-swatch-wrapper {
   
}
/*搞清楚伪类*/
::-webkit-color-swatch { display: none;}

.toolbarBtn{
	width:30px;
	height: 30px;
	border-radius: 2px;
	background-size: contain;

}
#clearBtn{
	background-image: url(../img/broom.png);
}

#emoji{
	background-image: url(../img/smile.png);

}
#colorStyle {
    background-image: url(../img/color.png);

}
#imageBtn{
	background-image: url(../img/image.png);
}

#sendImage,#clearBtn,#emoji,#colorStyle,#imageBtn{
    border-color: #0b1116 !important;
    background-color: #0b1116;
    padding: 0px;
    border: 0px;
}
